package com.dly.hope.type;

import lombok.Data;

/**
 * @author linyu.dai
 * @project myserve
 * @description 数据是否有效
 * @creat 2022/8/26 10:40:48
 */
public enum DataStatusEnum {

    EFFICIENT("有效",1),
    INVALID("无效",0),
    IS_USER("已使用", 1),
    NO_USER("未使用", 0);

    private String desc;

    private Integer code;

    DataStatusEnum(String desc, Integer code){
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }
}
